#include "RingQueue.hpp"
#include<pthread.h>
#include<memory>
using namespace std;

void *cosumerRoutine(void* args)
{
    
}

void *productorRoutine(void* args){

}

int main()
{
    RingQueue<int> *rq = new RingQueue<int>();

    //单生产单消费
    pthread_t c,p;
    pthread_create(&c,nullptr,cosumerRoutine,rq);
    pthread_create(&p,nullptr,productorRoutine,rq);

    pthread_join(c,nullptr);
    pthread_join(p,nullptr);
    return 0;
}